package com.sky.financelake.ui.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatButton;

import com.sky.financelake.base.BaseF;
import com.sky.financelake.databinding.FragmentChooseBinding;
import com.sky.financelake.utils.LoadingUtil;

import dagger.hilt.android.AndroidEntryPoint;

@AndroidEntryPoint
public class ChooseF extends BaseF {


    private FragmentChooseBinding binding;
    private LoadingUtil loadingUtil;

    public static class SingleHolder {
        private static ChooseF instance = new ChooseF();
    }

    private ChooseF() {
    }

    public static ChooseF newInstance() {
        return SingleHolder.instance;
    }

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        binding = FragmentChooseBinding.inflate(getLayoutInflater());
        loadingUtil = LoadingUtil.newInstance(binding.getRoot());


        AppCompatButton btnZjlx = binding.btnZjlx;
        btnZjlx.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
            }
        });

        return binding.getRoot();
    }
}
